var gRemoveDupesPrefPane = {

//@line 6 "/home/eyalroz/src/removedupes/src/chrome/content/removedupes/removedupes-prefs.js"

  init: function() {
//@line 9 "/home/eyalroz/src/removedupes/src/chrome/content/removedupes/removedupes-prefs.js"
    window.addEventListener("dialoghelp", this.openGuide, true);
//@line 22 "/home/eyalroz/src/removedupes/src/chrome/content/removedupes/removedupes-prefs.js"
  },

//@line 25 "/home/eyalroz/src/removedupes/src/chrome/content/removedupes/removedupes-prefs.js"
  openGuide: function(aEvent) {
    try {
      // Open the user guide in the default browser.
      var helpLink = document.getElementById("removeDupesPrefPane")
                             .getAttribute("helpURI");
      var uri = Components.classes["@mozilla.org/network/io-service;1"]
                          .getService(Components.interfaces.nsIIOService)
                          .newURI(helpLink, null, null);
      var protocolSvc =
        Components.classes["@mozilla.org/uriloader/external-protocol-service;1"]
                  .getService(Components.interfaces.nsIExternalProtocolService);
      protocolSvc.loadUrl(uri);
    }
    catch(ex) {
      dump(ex);
    }

    // Prevent the default help button behavior
    aEvent.preventDefault();
    aEvent.stopPropagation();
  }
//@line 54 "/home/eyalroz/src/removedupes/src/chrome/content/removedupes/removedupes-prefs.js"

};
